package openadmin.controller.gwt.beaninfo;

import java.io.Serializable;

/**
 * <desc> ClassInfo: We should provide most of the information from a class that reflection supplies, 
 *        as in the client, we cannot use reflection 
 * 
 * In order to simplify programming, all the attributes have been declared "public"
 * @author edu
 *
 */
public class CollectionInfo implements Serializable{

	private static final long serialVersionUID = 1L;  // To avoid compiler warnings
	
	
	public String collectionDescription;		// i18n description of the collection
	public String collectionName;				// collection class name
	
	public FieldInfo[] fields;					// Information from attributes of class in the collection
	public String collectionView;				// Detail of attributes separated by commas
	public String[] tabViewFieldNames;			// Name of the fields that are used in the tab view. If a field is from another class
												// it should be named as class.attribute

	public RowStyleInfo[] rowStyle;				// Definition of row style in a CSS in a tabular view
	
	public boolean noEdit; 						// You cannot edit the elements from the collection
	public boolean noNew;						// You cannot create new elements
	
		
}
